package com.liang.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.liang.pojo.Gorillaceo;
import com.liang.pojo.OrderItem;


public interface OrderItemDao {
	int insertOrderItem(Map<String,Object> map);
	int deleteOrderItemByOid(Gorillaceo gorillaceo);
	//根据用户id查询和删除当前用户名下所有的订单条目
	List<OrderItem> selectAllOrderItemByOid(@Param("oid")int oid);
	OrderItem selectOrderItemByOidAndSid(@Param("oid")int oid,@Param("sid")int sid);//根据oid和sid查询订单项
	int updateOrderItem(OrderItem orderItem);
}
